<?php
  
   // install und update 
  require_once "../framework.php";  
  
  $modul = new modul();
     $file = new file();
     $zip = new zip(); 
     
     $modulFilename = "/tmp/modul_import.zip";
     
     
     $file->createFolder("/tmp/modul_import");
     $file->saveUploadFile("file", "/tmp/", "modul_import.zip", true);
     //$zip->zipExtract($modulFilename, "/tmp/modul_import");*/          
  
    $modul->installModul($modulFilename);
  
  
  
  
  
     echo "fertig";
  
  
?>
